package org.scrm.service.impl;

import org.scrm.dao.OrderDao;
import org.scrm.model.Order;
import org.scrm.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.*;

@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    private OrderDao orderDao;

    @Override
    public void save(Order order) {
        orderDao.save(order);
    }

    @Override
    public String redPaper(String resourceId) {
        return "每周末9点发放";
    }

    @Override
    public String shopping(String resourceId) {
        return "每周三9点发放";
    }

    @Override
    public String QQVip(String resourceId) {
        return "每周一0点开始秒杀";
    }





    public static void main(String[] args) {


            // 输出结果
            System.out.println(0x1.0p-4);
        }
}
